home *** CD-ROM | disk | FTP | other *** search
-
- /*
- There may be additional include files required depending
- upon the compile product you are using. Typical compilers
- include Microsoft C by Microsoft or Turbo C by Boland Int'l.
- */
- #include <stdio.h>
- main()
- {
- int code, i=10, j=20, k=30, l=40;
-
- code=number(i,j,k,l,50,60,70,80,90,100);
- if( code < 0 )
- printf("no match\n");
-
- }
-
- number(a,b,c,d,e,f,g,h,i,k)
- int a,b,c,d,e,f,g,h,i,k;
- {
- if(a==b && c==d && e==f && g==h && i==k){
- printf("arguments are matched pairs\n");
- return(0);
- }
- else
- return(-1);
- }
-
-